/* --- Global Theme Colors & Typography --- */
:root {
    --anirban-orange: #ff5e14;
    --anirban-dark-blue: #0e1b29;
    --anirban-text-gray: #666666;
    --anirban-bg-light: #ffffff;
    --anirban-border-soft: rgba(255, 94, 20, 0.15); /* ইমেজের হালকা কমলার আভাযুক্ত বর্ডার */
    --anirban-font-family: 'Poppins', sans-serif;
}

.anirban_portfolio_recent_work_section {
    width: 100%;
    background-color: var(--anirban-bg-light);
    font-family: var(--anirban-font-family);
    overflow: hidden;
}

.anirban_portfolio_recent_work_section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anirban_work_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.anirban_work_header {
    text-align: center;
    margin-bottom: 40px;
}

.anirban_work_subtitle {
    color: var(--anirban-orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.anirban_work_title {
    font-size: 36px;
    font-weight: 800;
    color: var(--anirban-dark-blue);
    letter-spacing: -0.5px;
}

.anirban_work_filter_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.anirban_work_filter_btn {
    background: none;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--anirban-text-gray);
    cursor: pointer;
    position: relative;
    padding: 8px 2px;
    text-transform: capitalize;
}

.anirban_work_filter_btn:hover {
    color: var(--anirban-orange);
}

.anirban_work_filter_btn.anirban_active {
    color: var(--anirban-orange);
    font-weight: 600;
}

.anirban_work_filter_btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--anirban-orange);
    border-radius: 2px;
    transform: translateX(-50%);
}

.anirban_work_filter_btn.anirban_active::after {
    width: 20px;
}

.anirban_work_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.anirban_work_card {
    background-color: #ffffff;
    border: 1px solid var(--anirban-border-soft);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
    opacity: 1;
    transform: scale(1);
}

.anirban_wide_card {
    grid-column: span 2;
}

.anirban_work_link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.anirban_work_img_wrapper {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    margin-bottom: 20px;
}

.anirban_work_img_wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.anirban_work_card:hover .anirban_work_img_wrapper img {
    transform: scale(1.06);
}

.anirban_work_info {
    padding-top: 5px;
}

.anirban_work_meta {
    font-size: 12px;
    font-weight: 600;
    color: var(--anirban-text-gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.anirban_work_item_title {
    font-size: 18px;
    font-weight: 700;
    color: var(--anirban-dark-blue);
    line-height: 1.4;
}

.anirban_work_card:hover .anirban_work_item_title {
    color: var(--anirban-orange);
}

.anirban_hidden_card {
    opacity: 0;
    transform: scale(0.85);
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    padding: 0;
    border: none;
    margin: 0;
}


@media (max-width: 991px) {
    .anirban_work_grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .anirban_wide_card {
        grid-column: span 2;
    }
    
    .anirban_work_title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .anirban_work_filter_nav {
        gap: 15px 25px;
    }
    
    .anirban_work_img_wrapper {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .anirban_portfolio_recent_work_section {
        padding: 50px 0;
    }

    .anirban_work_title {
        font-size: 26px;
    }

    .anirban_work_filter_nav {
        gap: 10px 18px;
        margin-bottom: 35px;
    }

    .anirban_work_grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }

    .anirban_wide_card {
        grid-column: span 1;
    }

    .anirban_work_img_wrapper {
        height: 200px;
    }
    
    .anirban_work_item_title {
        font-size: 16px;
    }
}



.anirban_portfolio_recent_work_section .anirban_work_card {
    opacity: 1;
    transform: scale(1) translateY(0);
    visibility: visible;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.4s ease;
}

.anirban_portfolio_recent_work_section .anirban_hidden_card {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    overflow: hidden;
}